<div class="row RowSpace" style="margin-bottom:20px;">
  <div class="InputDiv" style="width:450px;">
    <TextBox value="serachText"></TextBox>
  </div>
  <div class="LableDiv" style="width:50px;">
    <Btn class="BtnSave" value="搜索" ng-click="btnQuery()"></Btn>
  </div>
</div>
<div class="row RowSpace" style="margin-top:10px;">
  <div class="LableDiv">
    <Label>当周</Label>
  </div>
  <div class="InputDiv">
    <CheckBox value="week" change='chbChangeWeek()'></CheckBox>
  </div>
  <div class="LableDiv">
    <Label>当月</Label>
  </div>
  <div class="InputDiv">
    <CheckBox value="month" change='chbChangeMonth()'></CheckBox>
  </div>
  <div class="LableDiv">
    <Label>全部</Label>
  </div>
  <div class="InputDiv">
    <CheckBox value="alltime" change='chbChangeAll()'></CheckBox>
  </div>
</div>
<div class="row RowSpace" style="margin-top:10px;">
  <DataGrid module="Module.StationUser" isedit="false" IsAutoLoad="false" height="400px">
  <TextBoxColumn DisplayName="部门" width="200px" ValueField="User.Department.Name"></TextBoxColumn>
  <TextBoxColumn DisplayName="姓名" width="150px" ValueField="User.Name"></TextBoxColumn>
    <CalendarColumn DisplayName="上岗时间" width="150px" ValueField="StartDateTime"></CalendarColumn>
    <CalendarColumn DisplayName="下岗时间" width="150px" ValueField="EndDateTime"></CalendarColumn>
    <TextBoxColumn DisplayName="采集工位" width="200px" ValueField="WorkLocation.Name"></TextBoxColumn>
  </DataGrid>
</div>




<!-- <div class="row RowSpace" style="margin-bottom:20px;">
  <div class="LableDiv" style="width:50px;">
    <Btn class="BtnSave" value="保存" ng-click="btnSave()"></Btn>
  </div>
  <div class="LableDiv" style="width:50px;">
    <Btn class="BtnAdd" value="新增" ng-click="btnAdd()"></Btn>
  </div>
  <div class="LableDiv" style="width:60px;">
    <Btn class="BtnDelete" value="删除" ng-click="btnDelete()"></Btn>
  </div> -->
  <!-- <div class="LableDiv" style="width:50px;">
    <BtnFind DisplayName="查找" WindowTitle="质检指标" module="Module.QCNorm">
      <Column type="0" width="150px" displayname="编码" valuefield="Code"></Column>
      <Column type="textbox" width="150px" displayname="名称" valuefield="Name"></Column>
      <Column type="dropdownlist" width="150px" enum="TypeEnum" displayname="类型" valuefield="Type"></Column>
      <Column type="TextBox" width="150px" displayname="单位" valuefield="Unit"></Column>
      <Column type="TextBox" width="150px" displayname="可扩展枚举" valuefield="ExtendEnum.Name"></Column>
    </BtnFind>
  </div> -->
  <!-- <div class="LableDiv" style="width:50px;">
    <Btn value="首页" ng-click="btnFirstPage()"></Btn>
  </div>
  <div class="LableDiv" style="width:50px;">
    <Btn value="上页" ng-click="btnPrePage()"></Btn>
  </div>
  <div class="LableDiv" style="width:50px;">
    <Btn value="下页" ng-click="btnNextPage()"></Btn>
  </div>
  <div class="LableDiv" style="width:50px;">
    <Btn value="末页" ng-click="btnLastPage()"></Btn>
  </div>
</div> -->

<!-- <div class="row RowSpace">
  <div class="LableDiv"><label>工位</label></div>
  <div class="InputDiv" style="width:40%;">
    <Refer EntityName="WorkLocation" WindowTitle="工位" key="Module.StationUser.FocusedRecord.WorkLocation._id" value="Module.StationUser.FocusedRecord.WorkLocation.Code" text="Module.StationUser.FocusedRecord.WorkLocation.Name" ValueField="Code" TextField="Name">
      <Column type="0" width="150px" DisplayName="编码" valuefield="Code"></Column>
      <Column type="textbox" width="150px" DisplayName="名称" valuefield="Name"></Column>
    </Refer>
  </div>
  <div class="LableDiv"><label>用户</label></div>
  <div class="InputDiv" style="width:40%;">
    <Refer EntityName="User" WindowTitle="用户" key="Module.StationUser.FocusedRecord.User._id" value="Module.StationUser.FocusedRecord.User.Code" text="Module.StationUser.FocusedRecord.User.Name" ValueField="Code" TextField="Name">
      <Column type="0" width="150px" DisplayName="编码" valuefield="Code"></Column>
      <Column type="textbox" width="150px" DisplayName="名称" valuefield="Name"></Column>
    </Refer>
  </div>
</div> -->

<!-- <div class="row RowSpace">
  <div class="LableDiv"><label>终端</label></div>
  <div class="InputDiv" style="width:40%;">
    <Refer EntityName="Terminal" WindowTitle="终端" key="Module.StationUser.FocusedRecord.Terminal._id" value="Module.StationUser.FocusedRecord.Terminal.Code" text="Module.StationUser.FocusedRecord.Terminal.Name" ValueField="Code" TextField="Name">
      <Column type="0" width="150px" DisplayName="编码" valuefield="Code"></Column>
      <Column type="textbox" width="150px" DisplayName="名称" valuefield="Name"></Column>
    </Refer>
  </div>
  <div class="LableDiv"><label>上岗时间</label></div>
  <div class="InputDiv">
    <Calendar value="Module.StationUser.FocusedRecord.StartDateTime"></Calendar>
  </div>
  
</div>

<div class="row RowSpace">
<div class="LableDiv"><label>下岗时间</label></div>
  <div class="InputDiv">
    <Calendar value="Module.StationUser.FocusedRecord.EndDateTime"></Calendar>
  </div>
</div> -->

